package com.ruoyi.report.forms.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.report.forms.mapper.ReportFormsBundleMapper;
import com.ruoyi.report.forms.domain.ReportFormsBundle;
import com.ruoyi.report.forms.service.IReportFormsBundleService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-04-01
 */
@Service
public class ReportFormsBundleServiceImpl implements IReportFormsBundleService 
{
    @Autowired
    private ReportFormsBundleMapper reportFormsBundleMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param routeId 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public ReportFormsBundle selectReportFormsBundleByRouteId(String routeId)
    {
        return reportFormsBundleMapper.selectReportFormsBundleByRouteId(routeId);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param reportFormsBundle 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<ReportFormsBundle> selectReportFormsBundleList(ReportFormsBundle reportFormsBundle)
    {
        return reportFormsBundleMapper.selectReportFormsBundleList(reportFormsBundle);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param reportFormsBundle 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertReportFormsBundle(ReportFormsBundle reportFormsBundle)
    {
        return reportFormsBundleMapper.insertReportFormsBundle(reportFormsBundle);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param reportFormsBundle 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateReportFormsBundle(ReportFormsBundle reportFormsBundle)
    {
        return reportFormsBundleMapper.updateReportFormsBundle(reportFormsBundle);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param routeIds 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteReportFormsBundleByRouteIds(String[] routeIds)
    {
        return reportFormsBundleMapper.deleteReportFormsBundleByRouteIds(routeIds);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param routeId 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteReportFormsBundleByRouteId(String routeId)
    {
        return reportFormsBundleMapper.deleteReportFormsBundleByRouteId(routeId);
    }

    /**
     * 多条件删除单个数据
     *
     * @param reportFormsBundle 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int deleteReportFormsBundleByModel(ReportFormsBundle reportFormsBundle)
    {
        return reportFormsBundleMapper.deleteReportFormsBundleByModel(reportFormsBundle);
    }
}
